/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author Neo
 */
public class Converter {
    public static Date stringToDateJava(String s) throws ParseException{
        SimpleDateFormat sdm = new  SimpleDateFormat("dd-MM-yyyy");
        Date d = sdm.parse(s);
        return d;
    }
}
